package events
{
	import flash.events.Event;
	
	public class WeatherEvent extends Event
	{
		public static const GET:String = "getWeatherEvent";
		public static const SET:String = "setWeatherEvent";
		
		public var unit:String;
		public var location:String;
		public var kamu:String;
		
		public function WeatherEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			trace('create WeatherEvent...');
			super(type, bubbles, cancelable);
		}
		
		public function kamuFuggveny():String{
			kamu = "kamu";
			trace('kamufuggveny ami nem csinal semmit, csak h legyen valtozas');
			return kamu;
		}
	}
}